$OpenBSD: patch-data_PreSession_in,v 1.6 2017/04/16 12:43:20 ajacoutot Exp $
--- data/PreSession.in.orig	Thu Dec 26 16:04:18 2013
+++ data/PreSession.in	Thu Dec 26 16:09:50 2013
@@ -7,3 +7,8 @@
 # Note that output goes into the .xsession-errors file for easy debugging
 #
 PATH="@X_PATH@:$PATH"
+
+# /etc/X11/xenodm/GiveConsole, fbtab(5)
+if [ -c /dev/drm0 ]; then
+    /sbin/chown $USER /dev/drm0
+fi
